3.329 \(\int \frac{(1+2 x^2+2 x^4)^{3/2}}{x^2 (3-2 x^2)} \, dx\)

Optimal. Leaf size=722 \[ -\frac{17 \left (5+\sqrt{2}\right ) \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} \text{EllipticF}\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right ),\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{12 \sqrt [4]{2} \sqrt{2 x^4+2 x^2+1}}+\frac{289 \left (3-\sqrt{2}\right ) \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} \text{EllipticF}\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right ),\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{84 \sqrt [4]{2} \sqrt{2 x^4+2 x^2+1}}+\frac{\left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} \text{EllipticF}\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right ),\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{3\ 2^{3/4} \sqrt{2 x^4+2 x^2+1}}+\frac{\sqrt{2} \sqrt{2 x^4+2 x^2+1} x}{3 \left (\sqrt{2} x^2+1\right )}-\frac{17 \sqrt{2 x^4+2 x^2+1} x}{3 \sqrt{2} \left (\sqrt{2} x^2+1\right )}-\frac{\left (x^2+1\right ) \sqrt{2 x^4+2 x^2+1}}{3 x}+\frac{17}{12} \sqrt{\frac{17}{3}} \tanh ^{-1}\left (\frac{\sqrt{\frac{17}{3}} x}{\sqrt{2 x^4+2 x^2+1}}\right )-\frac{\sqrt [4]{2} \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} E\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{3 \sqrt{2 x^4+2 x^2+1}}+\frac{17 \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} E\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{3\ 2^{3/4} \sqrt{2 x^4+2 x^2+1}}-\frac{289 \left (11-6 \sqrt{2}\right ) \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} \Pi \left (\frac{1}{24} \left (12+11 \sqrt{2}\right );2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{504 \sqrt [4]{2} \sqrt{2 x^4+2 x^2+1}} \]

[Out]

-((1 + x^2)*Sqrt[1 + 2*x^2 + 2*x^4])/(3*x) - (17*x*Sqrt[1 + 2*x^2 + 2*x^4])/(3*Sqrt[2]*(1 + Sqrt[2]*x^2)) + (S
qrt[2]*x*Sqrt[1 + 2*x^2 + 2*x^4])/(3*(1 + Sqrt[2]*x^2)) + (17*Sqrt[17/3]*ArcTanh[(Sqrt[17/3]*x)/Sqrt[1 + 2*x^2
 + 2*x^4]])/12 + (17*(1 + Sqrt[2]*x^2)*Sqrt[(1 + 2*x^2 + 2*x^4)/(1 + Sqrt[2]*x^2)^2]*EllipticE[2*ArcTan[2^(1/4
)*x], (2 - Sqrt[2])/4])/(3*2^(3/4)*Sqrt[1 + 2*x^2 + 2*x^4]) - (2^(1/4)*(1 + Sqrt[2]*x^2)*Sqrt[(1 + 2*x^2 + 2*x
^4)/(1 + Sqrt[2]*x^2)^2]*EllipticE[2*ArcTan[2^(1/4)*x], (2 - Sqrt[2])/4])/(3*Sqrt[1 + 2*x^2 + 2*x^4]) + ((1 +
Sqrt[2]*x^2)*Sqrt[(1 + 2*x^2 + 2*x^4)/(1 + Sqrt[2]*x^2)^2]*EllipticF[2*ArcTan[2^(1/4)*x], (2 - Sqrt[2])/4])/(3
*2^(3/4)*Sqrt[1 + 2*x^2 + 2*x^4]) + (289*(3 - Sqrt[2])*(1 + Sqrt[2]*x^2)*Sqrt[(1 + 2*x^2 + 2*x^4)/(1 + Sqrt[2]
*x^2)^2]*EllipticF[2*ArcTan[2^(1/4)*x], (2 - Sqrt[2])/4])/(84*2^(1/4)*Sqrt[1 + 2*x^2 + 2*x^4]) - (17*(5 + Sqrt
[2])*(1 + Sqrt[2]*x^2)*Sqrt[(1 + 2*x^2 + 2*x^4)/(1 + Sqrt[2]*x^2)^2]*EllipticF[2*ArcTan[2^(1/4)*x], (2 - Sqrt[
2])/4])/(12*2^(1/4)*Sqrt[1 + 2*x^2 + 2*x^4]) - (289*(11 - 6*Sqrt[2])*(1 + Sqrt[2]*x^2)*Sqrt[(1 + 2*x^2 + 2*x^4
)/(1 + Sqrt[2]*x^2)^2]*EllipticPi[(12 + 11*Sqrt[2])/24, 2*ArcTan[2^(1/4)*x], (2 - Sqrt[2])/4])/(504*2^(1/4)*Sq
rt[1 + 2*x^2 + 2*x^4])

________________________________________________________________________________________

Rubi [A]  time = 0.368427, antiderivative size = 722, normalized size of antiderivative = 1., number of steps used = 13, number of rules used = 10, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.345, Rules used = {1311, 1271, 12, 1139, 1103, 1195, 1208, 1197, 1216, 1706} \[ \frac{\sqrt{2} \sqrt{2 x^4+2 x^2+1} x}{3 \left (\sqrt{2} x^2+1\right )}-\frac{17 \sqrt{2 x^4+2 x^2+1} x}{3 \sqrt{2} \left (\sqrt{2} x^2+1\right )}-\frac{\left (x^2+1\right ) \sqrt{2 x^4+2 x^2+1}}{3 x}+\frac{17}{12} \sqrt{\frac{17}{3}} \tanh ^{-1}\left (\frac{\sqrt{\frac{17}{3}} x}{\sqrt{2 x^4+2 x^2+1}}\right )-\frac{17 \left (5+\sqrt{2}\right ) \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} F\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{12 \sqrt [4]{2} \sqrt{2 x^4+2 x^2+1}}+\frac{289 \left (3-\sqrt{2}\right ) \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} F\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{84 \sqrt [4]{2} \sqrt{2 x^4+2 x^2+1}}+\frac{\left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} F\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{3\ 2^{3/4} \sqrt{2 x^4+2 x^2+1}}-\frac{\sqrt [4]{2} \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} E\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{3 \sqrt{2 x^4+2 x^2+1}}+\frac{17 \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} E\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{3\ 2^{3/4} \sqrt{2 x^4+2 x^2+1}}-\frac{289 \left (11-6 \sqrt{2}\right ) \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} \Pi \left (\frac{1}{24} \left (12+11 \sqrt{2}\right );2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{504 \sqrt [4]{2} \sqrt{2 x^4+2 x^2+1}} \]

Antiderivative was successfully verified.

[In]

Int[(1 + 2*x^2 + 2*x^4)^(3/2)/(x^2*(3 - 2*x^2)),x]

[Out]

-((1 + x^2)*Sqrt[1 + 2*x^2 + 2*x^4])/(3*x) - (17*x*Sqrt[1 + 2*x^2 + 2*x^4])/(3*Sqrt[2]*(1 + Sqrt[2]*x^2)) + (S
qrt[2]*x*Sqrt[1 + 2*x^2 + 2*x^4])/(3*(1 + Sqrt[2]*x^2)) + (17*Sqrt[17/3]*ArcTanh[(Sqrt[17/3]*x)/Sqrt[1 + 2*x^2
 + 2*x^4]])/12 + (17*(1 + Sqrt[2]*x^2)*Sqrt[(1 + 2*x^2 + 2*x^4)/(1 + Sqrt[2]*x^2)^2]*EllipticE[2*ArcTan[2^(1/4
)*x], (2 - Sqrt[2])/4])/(3*2^(3/4)*Sqrt[1 + 2*x^2 + 2*x^4]) - (2^(1/4)*(1 + Sqrt[2]*x^2)*Sqrt[(1 + 2*x^2 + 2*x
^4)/(1 + Sqrt[2]*x^2)^2]*EllipticE[2*ArcTan[2^(1/4)*x], (2 - Sqrt[2])/4])/(3*Sqrt[1 + 2*x^2 + 2*x^4]) + ((1 +
Sqrt[2]*x^2)*Sqrt[(1 + 2*x^2 + 2*x^4)/(1 + Sqrt[2]*x^2)^2]*EllipticF[2*ArcTan[2^(1/4)*x], (2 - Sqrt[2])/4])/(3
*2^(3/4)*Sqrt[1 + 2*x^2 + 2*x^4]) + (289*(3 - Sqrt[2])*(1 + Sqrt[2]*x^2)*Sqrt[(1 + 2*x^2 + 2*x^4)/(1 + Sqrt[2]
*x^2)^2]*EllipticF[2*ArcTan[2^(1/4)*x], (2 - Sqrt[2])/4])/(84*2^(1/4)*Sqrt[1 + 2*x^2 + 2*x^4]) - (17*(5 + Sqrt
[2])*(1 + Sqrt[2]*x^2)*Sqrt[(1 + 2*x^2 + 2*x^4)/(1 + Sqrt[2]*x^2)^2]*EllipticF[2*ArcTan[2^(1/4)*x], (2 - Sqrt[
2])/4])/(12*2^(1/4)*Sqrt[1 + 2*x^2 + 2*x^4]) - (289*(11 - 6*Sqrt[2])*(1 + Sqrt[2]*x^2)*Sqrt[(1 + 2*x^2 + 2*x^4
)/(1 + Sqrt[2]*x^2)^2]*EllipticPi[(12 + 11*Sqrt[2])/24, 2*ArcTan[2^(1/4)*x], (2 - Sqrt[2])/4])/(504*2^(1/4)*Sq
rt[1 + 2*x^2 + 2*x^4])

Rule 1311

Int[(((f_.)*(x_))^(m_)*((a_.) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_.))/((d_.) + (e_.)*(x_)^2), x_Symbol] :> Dist[
1/(d*e), Int[(f*x)^m*(a*e + c*d*x^2)*(a + b*x^2 + c*x^4)^(p - 1), x], x] - Dist[(c*d^2 - b*d*e + a*e^2)/(d*e*f
^2), Int[((f*x)^(m + 2)*(a + b*x^2 + c*x^4)^(p - 1))/(d + e*x^2), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && Ne
Q[b^2 - 4*a*c, 0] && GtQ[p, 0] && LtQ[m, 0]

Rule 1271

Int[((f_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^2)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_.), x_Symbol] :> Simp[((f
*x)^(m + 1)*(a + b*x^2 + c*x^4)^p*(d*(m + 4*p + 3) + e*(m + 1)*x^2))/(f*(m + 1)*(m + 4*p + 3)), x] + Dist[(2*p
)/(f^2*(m + 1)*(m + 4*p + 3)), Int[(f*x)^(m + 2)*(a + b*x^2 + c*x^4)^(p - 1)*Simp[2*a*e*(m + 1) - b*d*(m + 4*p
 + 3) + (b*e*(m + 1) - 2*c*d*(m + 4*p + 3))*x^2, x], x], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b^2 - 4*a*c
, 0] && GtQ[p, 0] && LtQ[m, -1] && m + 4*p + 3 != 0 && IntegerQ[2*p] && (IntegerQ[p] || IntegerQ[m])

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 1139

Int[(x_)^2/Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4], x_Symbol] :> With[{q = Rt[c/a, 2]}, Dist[1/q, Int[1/Sqrt[
a + b*x^2 + c*x^4], x], x] - Dist[1/q, Int[(1 - q*x^2)/Sqrt[a + b*x^2 + c*x^4], x], x]] /; FreeQ[{a, b, c}, x]
 && NeQ[b^2 - 4*a*c, 0] && PosQ[c/a]

Rule 1103

Int[1/Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4], x_Symbol] :> With[{q = Rt[c/a, 4]}, Simp[((1 + q^2*x^2)*Sqrt[(
a + b*x^2 + c*x^4)/(a*(1 + q^2*x^2)^2)]*EllipticF[2*ArcTan[q*x], 1/2 - (b*q^2)/(4*c)])/(2*q*Sqrt[a + b*x^2 + c
*x^4]), x]] /; FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0] && PosQ[c/a]

Rule 1195

Int[((d_) + (e_.)*(x_)^2)/Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4], x_Symbol] :> With[{q = Rt[c/a, 4]}, -Simp[
(d*x*Sqrt[a + b*x^2 + c*x^4])/(a*(1 + q^2*x^2)), x] + Simp[(d*(1 + q^2*x^2)*Sqrt[(a + b*x^2 + c*x^4)/(a*(1 + q
^2*x^2)^2)]*EllipticE[2*ArcTan[q*x], 1/2 - (b*q^2)/(4*c)])/(q*Sqrt[a + b*x^2 + c*x^4]), x] /; EqQ[e + d*q^2, 0
]] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && PosQ[c/a]

Rule 1208

Int[((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_)/((d_) + (e_.)*(x_)^2), x_Symbol] :> -Dist[(e^2)^(-1), Int[(c*d -
 b*e - c*e*x^2)*(a + b*x^2 + c*x^4)^(p - 1), x], x] + Dist[(c*d^2 - b*d*e + a*e^2)/e^2, Int[(a + b*x^2 + c*x^4
)^(p - 1)/(d + e*x^2), x], x] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2
, 0] && IGtQ[p + 1/2, 0]

Rule 1197

Int[((d_) + (e_.)*(x_)^2)/Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4], x_Symbol] :> With[{q = Rt[c/a, 2]}, Dist[(
e + d*q)/q, Int[1/Sqrt[a + b*x^2 + c*x^4], x], x] - Dist[e/q, Int[(1 - q*x^2)/Sqrt[a + b*x^2 + c*x^4], x], x]
/; NeQ[e + d*q, 0]] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && PosQ[c/a]

Rule 1216

Int[1/(((d_) + (e_.)*(x_)^2)*Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4]), x_Symbol] :> With[{q = Rt[c/a, 2]}, Di
st[(c*d + a*e*q)/(c*d^2 - a*e^2), Int[1/Sqrt[a + b*x^2 + c*x^4], x], x] - Dist[(a*e*(e + d*q))/(c*d^2 - a*e^2)
, Int[(1 + q*x^2)/((d + e*x^2)*Sqrt[a + b*x^2 + c*x^4]), x], x]] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a
*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0] && NeQ[c*d^2 - a*e^2, 0] && PosQ[c/a]

Rule 1706

Int[((A_) + (B_.)*(x_)^2)/(((d_) + (e_.)*(x_)^2)*Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4]), x_Symbol] :> With[
{q = Rt[B/A, 2]}, -Simp[((B*d - A*e)*ArcTan[(Rt[-b + (c*d)/e + (a*e)/d, 2]*x)/Sqrt[a + b*x^2 + c*x^4]])/(2*d*e
*Rt[-b + (c*d)/e + (a*e)/d, 2]), x] + Simp[((B*d + A*e)*(A + B*x^2)*Sqrt[(A^2*(a + b*x^2 + c*x^4))/(a*(A + B*x
^2)^2)]*EllipticPi[Cancel[-((B*d - A*e)^2/(4*d*e*A*B))], 2*ArcTan[q*x], 1/2 - (b*A)/(4*a*B)])/(4*d*e*A*q*Sqrt[
a + b*x^2 + c*x^4]), x]] /; FreeQ[{a, b, c, d, e, A, B}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^
2, 0] && NeQ[c*d^2 - a*e^2, 0] && PosQ[c/a] && EqQ[c*A^2 - a*B^2, 0]

Rubi steps

\begin{align*} \int \frac{\left (1+2 x^2+2 x^4\right )^{3/2}}{x^2 \left (3-2 x^2\right )} \, dx &=-\left (\frac{1}{6} \int \frac{\left (-2+6 x^2\right ) \sqrt{1+2 x^2+2 x^4}}{x^2} \, dx\right )+\frac{17}{3} \int \frac{\sqrt{1+2 x^2+2 x^4}}{3-2 x^2} \, dx\\ &=-\frac{\left (1+x^2\right ) \sqrt{1+2 x^2+2 x^4}}{3 x}+\frac{1}{18} \int \frac{12 x^2}{\sqrt{1+2 x^2+2 x^4}} \, dx-\frac{17}{12} \int \frac{10+4 x^2}{\sqrt{1+2 x^2+2 x^4}} \, dx+\frac{289}{6} \int \frac{1}{\left (3-2 x^2\right ) \sqrt{1+2 x^2+2 x^4}} \, dx\\ &=-\frac{\left (1+x^2\right ) \sqrt{1+2 x^2+2 x^4}}{3 x}+\frac{2}{3} \int \frac{x^2}{\sqrt{1+2 x^2+2 x^4}} \, dx+\frac{17 \int \frac{1-\sqrt{2} x^2}{\sqrt{1+2 x^2+2 x^4}} \, dx}{3 \sqrt{2}}-\frac{1}{42} \left (289 \left (2-3 \sqrt{2}\right )\right ) \int \frac{1+\sqrt{2} x^2}{\left (3-2 x^2\right ) \sqrt{1+2 x^2+2 x^4}} \, dx+\frac{1}{42} \left (289 \left (3-\sqrt{2}\right )\right ) \int \frac{1}{\sqrt{1+2 x^2+2 x^4}} \, dx-\frac{1}{6} \left (17 \left (5+\sqrt{2}\right )\right ) \int \frac{1}{\sqrt{1+2 x^2+2 x^4}} \, dx\\ &=-\frac{\left (1+x^2\right ) \sqrt{1+2 x^2+2 x^4}}{3 x}-\frac{17 x \sqrt{1+2 x^2+2 x^4}}{3 \sqrt{2} \left (1+\sqrt{2} x^2\right )}+\frac{17}{12} \sqrt{\frac{17}{3}} \tanh ^{-1}\left (\frac{\sqrt{\frac{17}{3}} x}{\sqrt{1+2 x^2+2 x^4}}\right )+\frac{17 \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{3\ 2^{3/4} \sqrt{1+2 x^2+2 x^4}}+\frac{289 \left (3-\sqrt{2}\right ) \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{84 \sqrt [4]{2} \sqrt{1+2 x^2+2 x^4}}-\frac{17 \left (5+\sqrt{2}\right ) \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{12 \sqrt [4]{2} \sqrt{1+2 x^2+2 x^4}}-\frac{289 \left (11-6 \sqrt{2}\right ) \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} \Pi \left (\frac{1}{24} \left (12+11 \sqrt{2}\right );2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{504 \sqrt [4]{2} \sqrt{1+2 x^2+2 x^4}}+\frac{1}{3} \sqrt{2} \int \frac{1}{\sqrt{1+2 x^2+2 x^4}} \, dx-\frac{1}{3} \sqrt{2} \int \frac{1-\sqrt{2} x^2}{\sqrt{1+2 x^2+2 x^4}} \, dx\\ &=-\frac{\left (1+x^2\right ) \sqrt{1+2 x^2+2 x^4}}{3 x}-\frac{17 x \sqrt{1+2 x^2+2 x^4}}{3 \sqrt{2} \left (1+\sqrt{2} x^2\right )}+\frac{\sqrt{2} x \sqrt{1+2 x^2+2 x^4}}{3 \left (1+\sqrt{2} x^2\right )}+\frac{17}{12} \sqrt{\frac{17}{3}} \tanh ^{-1}\left (\frac{\sqrt{\frac{17}{3}} x}{\sqrt{1+2 x^2+2 x^4}}\right )+\frac{17 \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{3\ 2^{3/4} \sqrt{1+2 x^2+2 x^4}}-\frac{\sqrt [4]{2} \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{3 \sqrt{1+2 x^2+2 x^4}}+\frac{\left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{3\ 2^{3/4} \sqrt{1+2 x^2+2 x^4}}+\frac{289 \left (3-\sqrt{2}\right ) \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{84 \sqrt [4]{2} \sqrt{1+2 x^2+2 x^4}}-\frac{17 \left (5+\sqrt{2}\right ) \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{12 \sqrt [4]{2} \sqrt{1+2 x^2+2 x^4}}-\frac{289 \left (11-6 \sqrt{2}\right ) \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} \Pi \left (\frac{1}{24} \left (12+11 \sqrt{2}\right );2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{504 \sqrt [4]{2} \sqrt{1+2 x^2+2 x^4}}\\ \end{align*}

Mathematica [C]  time = 0.218839, size = 213, normalized size = 0.3 \[ \frac{-(255-165 i) \sqrt{1-i} \sqrt{1+(1-i) x^2} \sqrt{1+(1+i) x^2} x \text{EllipticF}\left (i \sinh ^{-1}\left (\sqrt{1-i} x\right ),i\right )-24 x^6-48 x^4-36 x^2+90 i \sqrt{1-i} \sqrt{1+(1-i) x^2} \sqrt{1+(1+i) x^2} x E\left (\left .i \sinh ^{-1}\left (\sqrt{1-i} x\right )\right |i\right )+289 (1-i)^{3/2} \sqrt{1+(1-i) x^2} \sqrt{1+(1+i) x^2} x \Pi \left (-\frac{1}{3}-\frac{i}{3};\left .i \sinh ^{-1}\left (\sqrt{1-i} x\right )\right |i\right )-12}{36 x \sqrt{2 x^4+2 x^2+1}} \]

Antiderivative was successfully verified.

[In]

Integrate[(1 + 2*x^2 + 2*x^4)^(3/2)/(x^2*(3 - 2*x^2)),x]

[Out]

(-12 - 36*x^2 - 48*x^4 - 24*x^6 + (90*I)*Sqrt[1 - I]*x*Sqrt[1 + (1 - I)*x^2]*Sqrt[1 + (1 + I)*x^2]*EllipticE[I
*ArcSinh[Sqrt[1 - I]*x], I] - (255 - 165*I)*Sqrt[1 - I]*x*Sqrt[1 + (1 - I)*x^2]*Sqrt[1 + (1 + I)*x^2]*Elliptic
F[I*ArcSinh[Sqrt[1 - I]*x], I] + 289*(1 - I)^(3/2)*x*Sqrt[1 + (1 - I)*x^2]*Sqrt[1 + (1 + I)*x^2]*EllipticPi[-1
/3 - I/3, I*ArcSinh[Sqrt[1 - I]*x], I])/(36*x*Sqrt[1 + 2*x^2 + 2*x^4])

________________________________________________________________________________________

Maple [C]  time = 0.013, size = 528, normalized size = 0.7 \begin{align*} -{\frac{x}{3}\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}-{\frac{59\,{\it EllipticF} \left ( x\sqrt{-1+i},1/2\,\sqrt{2}+i/2\sqrt{2} \right ) }{5\,\sqrt{-1+i}}\sqrt{-i{x}^{2}+{x}^{2}+1}\sqrt{i{x}^{2}+{x}^{2}+1}{\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}}-{\frac{{\frac{103\,i}{30}}{\it EllipticF} \left ( x\sqrt{-1+i},{\frac{\sqrt{2}}{2}}+{\frac{i}{2}}\sqrt{2} \right ) }{\sqrt{-1+i}}\sqrt{-i{x}^{2}+{x}^{2}+1}\sqrt{i{x}^{2}+{x}^{2}+1}{\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}}-{\frac{103\,{\it EllipticE} \left ( x\sqrt{-1+i},1/2\,\sqrt{2}+i/2\sqrt{2} \right ) }{30\,\sqrt{-1+i}}\sqrt{-i{x}^{2}+{x}^{2}+1}\sqrt{i{x}^{2}+{x}^{2}+1}{\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}}+{\frac{{\frac{103\,i}{30}}{\it EllipticE} \left ( x\sqrt{-1+i},{\frac{\sqrt{2}}{2}}+{\frac{i}{2}}\sqrt{2} \right ) }{\sqrt{-1+i}}\sqrt{-i{x}^{2}+{x}^{2}+1}\sqrt{i{x}^{2}+{x}^{2}+1}{\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}}+{\frac{289}{18\,\sqrt{-1+i}}\sqrt{-i{x}^{2}+{x}^{2}+1}\sqrt{i{x}^{2}+{x}^{2}+1}{\it EllipticPi} \left ( x\sqrt{-1+i},-{\frac{1}{3}}-{\frac{i}{3}},{\frac{\sqrt{-1-i}}{\sqrt{-1+i}}} \right ){\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}}-{\frac{1}{3\,x}\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}+{\frac{16\,{\it EllipticF} \left ( x\sqrt{-1+i},1/2\,\sqrt{2}+i/2\sqrt{2} \right ) }{15\,\sqrt{-1+i}}\sqrt{1+ \left ( 1-i \right ){x}^{2}}\sqrt{1+ \left ( 1+i \right ){x}^{2}}{\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}}-{\frac{ \left ({\frac{14}{15}}-{\frac{14\,i}{15}} \right ) \left ({\it EllipticF} \left ( x\sqrt{-1+i},{\frac{\sqrt{2}}{2}}+{\frac{i}{2}}\sqrt{2} \right ) -{\it EllipticE} \left ( x\sqrt{-1+i},{\frac{\sqrt{2}}{2}}+{\frac{i}{2}}\sqrt{2} \right ) \right ) }{\sqrt{-1+i}}\sqrt{1+ \left ( 1-i \right ){x}^{2}}\sqrt{1+ \left ( 1+i \right ){x}^{2}}{\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((2*x^4+2*x^2+1)^(3/2)/x^2/(-2*x^2+3),x)

[Out]

-1/3*x*(2*x^4+2*x^2+1)^(1/2)-59/5/(-1+I)^(1/2)*(-I*x^2+x^2+1)^(1/2)*(I*x^2+x^2+1)^(1/2)/(2*x^4+2*x^2+1)^(1/2)*
EllipticF(x*(-1+I)^(1/2),1/2*2^(1/2)+1/2*I*2^(1/2))-103/30*I/(-1+I)^(1/2)*(-I*x^2+x^2+1)^(1/2)*(I*x^2+x^2+1)^(
1/2)/(2*x^4+2*x^2+1)^(1/2)*EllipticF(x*(-1+I)^(1/2),1/2*2^(1/2)+1/2*I*2^(1/2))-103/30/(-1+I)^(1/2)*(-I*x^2+x^2
+1)^(1/2)*(I*x^2+x^2+1)^(1/2)/(2*x^4+2*x^2+1)^(1/2)*EllipticE(x*(-1+I)^(1/2),1/2*2^(1/2)+1/2*I*2^(1/2))+103/30
*I/(-1+I)^(1/2)*(-I*x^2+x^2+1)^(1/2)*(I*x^2+x^2+1)^(1/2)/(2*x^4+2*x^2+1)^(1/2)*EllipticE(x*(-1+I)^(1/2),1/2*2^
(1/2)+1/2*I*2^(1/2))+289/18/(-1+I)^(1/2)*(-I*x^2+x^2+1)^(1/2)*(I*x^2+x^2+1)^(1/2)/(2*x^4+2*x^2+1)^(1/2)*Ellipt
icPi(x*(-1+I)^(1/2),-1/3-1/3*I,(-1-I)^(1/2)/(-1+I)^(1/2))-1/3*(2*x^4+2*x^2+1)^(1/2)/x+16/15/(-1+I)^(1/2)*(1+(1
-I)*x^2)^(1/2)*(1+(1+I)*x^2)^(1/2)/(2*x^4+2*x^2+1)^(1/2)*EllipticF(x*(-1+I)^(1/2),1/2*2^(1/2)+1/2*I*2^(1/2))+(
-14/15+14/15*I)/(-1+I)^(1/2)*(1+(1-I)*x^2)^(1/2)*(1+(1+I)*x^2)^(1/2)/(2*x^4+2*x^2+1)^(1/2)*(EllipticF(x*(-1+I)
^(1/2),1/2*2^(1/2)+1/2*I*2^(1/2))-EllipticE(x*(-1+I)^(1/2),1/2*2^(1/2)+1/2*I*2^(1/2)))

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} -\int \frac{{\left (2 \, x^{4} + 2 \, x^{2} + 1\right )}^{\frac{3}{2}}}{{\left (2 \, x^{2} - 3\right )} x^{2}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*x^4+2*x^2+1)^(3/2)/x^2/(-2*x^2+3),x, algorithm="maxima")

[Out]

-integrate((2*x^4 + 2*x^2 + 1)^(3/2)/((2*x^2 - 3)*x^2), x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{{\left (2 \, x^{4} + 2 \, x^{2} + 1\right )}^{\frac{3}{2}}}{2 \, x^{4} - 3 \, x^{2}}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*x^4+2*x^2+1)^(3/2)/x^2/(-2*x^2+3),x, algorithm="fricas")

[Out]

integral(-(2*x^4 + 2*x^2 + 1)^(3/2)/(2*x^4 - 3*x^2), x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} - \int \frac{\sqrt{2 x^{4} + 2 x^{2} + 1}}{2 x^{4} - 3 x^{2}}\, dx - \int \frac{2 x^{2} \sqrt{2 x^{4} + 2 x^{2} + 1}}{2 x^{4} - 3 x^{2}}\, dx - \int \frac{2 x^{4} \sqrt{2 x^{4} + 2 x^{2} + 1}}{2 x^{4} - 3 x^{2}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*x**4+2*x**2+1)**(3/2)/x**2/(-2*x**2+3),x)

[Out]

-Integral(sqrt(2*x**4 + 2*x**2 + 1)/(2*x**4 - 3*x**2), x) - Integral(2*x**2*sqrt(2*x**4 + 2*x**2 + 1)/(2*x**4
- 3*x**2), x) - Integral(2*x**4*sqrt(2*x**4 + 2*x**2 + 1)/(2*x**4 - 3*x**2), x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int -\frac{{\left (2 \, x^{4} + 2 \, x^{2} + 1\right )}^{\frac{3}{2}}}{{\left (2 \, x^{2} - 3\right )} x^{2}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*x^4+2*x^2+1)^(3/2)/x^2/(-2*x^2+3),x, algorithm="giac")

[Out]

integrate(-(2*x^4 + 2*x^2 + 1)^(3/2)/((2*x^2 - 3)*x^2), x)